<extend name="Public/base" />

<block name="body">
    <!-- 标题栏 -->
    <div class="main-title">
        <h2>{$meta_title}</h2>
    </div>
    <!-- 数据列表 -->
    <div class="data-table table-striped">
        <table>
            <thead>
            <tr>
                <th>ID</th>
                <th>反馈对象</th>
                <th>姓名</th>
                <th>联系方式</th>
                <th>反馈分类</th>
                <th>反馈内容</th>
                <th>采纳状态</th>
                <th>是否已读</th>
                <th>反馈时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <notempty name="_list">
                <volist name="_list" id="vo">
                    <tr>

                        <td>{$vo.id}</td>
                        <td><if condition="$vo['type'] == 1">用户反馈<else />机构反馈</if></td>
                        <td>{:getDbFieldValue('ucenter_member', array('id' => $vo['uid']), 'username')}</td>
                        <td>{:getDbFieldValue('ucenter_member', array('id' => $vo['uid']), 'mobile')}</td>
                        <td>{$vo.type_name}</td>
                        <td>{$vo.content}</td>
                        <td><if condition="$vo['is_adopt'] == 1">已采纳<else />未采纳</if></td>
                        <td><if condition="$vo['is_read'] == 0">未读<else />已读</if></td>
                        <td>{$vo.create_time|time_format}</td>
                        <td>
                            <a href="{:U('upFeedback',array('id'=>$vo['id']))}" class="authorize">查看详情</a> |
                            <a href="{:U('delFeedback',array('id'=>$vo['id']))}" class="authorize">删除</a>
                        </td>
                    </tr>
                </volist>
                <else/>
                <td colspan="10" class="text-center"> aOh! 暂时还没有内容! </td>
            </notempty>
            </tbody>
        </table>
    </div>
    <div class="page">
        {$_page}
    </div>
</block>

<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>


    <script type="text/javascript">



        //导航高亮
        highlight_subnav('{:U("Manage/feedbackList")}');
    </script>
</block>